﻿<%@ Page CodeFileBaseClass="AliCMS.CompanyModule.HomeBase" %>
<%@ Page PathInChannel="about/us{Ext}" %>
<!doctype html>
<html>
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="Company" Object="Company" PageID="Request.QueryString['CompanyID']" ForMeta="true" />
<ali:Get ID="Config" Object="HomeConfig" Operation="GetBasicSettings(Convert.ToString(Company[HomeConfig]))" />
<meta charset="utf-8">
<meta name="keywords" content="<%=MetaKeywords%>">
<meta name="description" content="<%=MetaDescription%>">
<title>公司简介 - <%=Company[Name]%> - <%=Site[Name]%></title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css">
<ali:Comment><link rel="stylesheet" type="text/css" href="../S01/CHS/css/global.css"></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath("global.css")%>">
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css"></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css">
<%If Convert.ToString(Config[CustomStyle]) != String.Empty || Convert.ToString(Config[BgColor]) != String.Empty || Convert.ToString(Config[BgImage]) != String.Empty%>
	<style type="text/css">
		<%=Config[CustomStyle]%>
		<%If Convert.ToString(Config[BgColor]) != String.Empty%>
			body{background-color:<%=Config[BgColor]%>}
		<%EndIf%>
		<%If Convert.ToString(Config[BgImage]) != String.Empty%>
			body{background-image:url(<%=Config[BgImage]%>);background-repeat:repeat}
		<%EndIf%>
	</style>
<%EndIf%>
<script language="c#" runat="server">
protected override void OnPreInit(EventArgs e)
{
	SetCompany(Company);
}
</script>
</head>
<body>
<%@ Register TagPrefix="alicmsUC" TagName="TopMenu" Src="../top_menu.dwt.ascx"%><alicmsUC:TopMenu ID="Top" runat="server" />

<div class="Wrap Header">
	<%If Convert.ToString(Config[Banner]) == String.Empty%>
		<h1><%=Company[Name]%></h1>
	<%Else%>
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
			<param name="movie" value="<%=CommonPath%>flicker/01.swf" />
			<param name="quality" value="high" />
			<param name="wmode" value="transparent" />
			<embed src="<%=CommonPath%>flicker/01.swf" quality="high" type="application/x-shockwave-flash" wmode="transparent"></embed>
		</object>
		<img src="<%=Config[Banner]%>" alt="<%=Company[Name]%>" />
	<%EndIf%>
</div>

<!-- TemplateBeginEditable name="菜单" -->
<ali:List ID="MainMenu" Object="Menu" Condition="ParentID IS NULL and Type='Main' and CompanyID=Company[ID]">
	<div class="Wrap Menu">
		<ul>
			<ali:Record>
				<%If IsMenuSelected(Record)%>
					<li><a class="Selected"><span><%=Name%></span></a></li>
				<%Else%>
					<li><a href="<%=BuildMenuUrl(Record)%>"><span><%=Name%></span></a></li>
				<%EndIf%>
				<ali:Separator><li class="Separator"></li></ali:Separator>
			</ali:Record>
		</ul>
	</div>
</ali:List>
<%If MainMenu[Count] == 0%>
	<ali:List Object="Menu" Condition="ParentID IS NULL and Type='Main' and CompanyID IS NULL">
		<div class="Wrap Menu">
			<ul>
				<ali:Record>
					<%If IsMenuSelected(Record)%>
						<li><a class="Selected"><span><%=Name%></span></a></li>
					<%Else%>
						<li><a href="<%=BuildMenuUrl(Record)%>"><span><%=Name%></span></a></li>
					<%EndIf%>
					<ali:Separator><li class="Separator"></li></ali:Separator>
				</ali:Record>
			</ul>
		</div>
	</ali:List>
<%EndIf%>
<!-- TemplateEndEditable -->

<div class="Wrap Block1">
	<div class="Side" id="Side">		
		<!-- TemplateBeginEditable name="广告位：侧栏顶部" -->
		<ali:Ad Guid="{9EF6FE7E-1278-45FF-AB29-5B3D853EEEAA}" TypeID="GetAdTypeID('{9EF6FE7E-1278-45FF-AB29-5B3D853EEEAA}')" Data="GetAdData('{9EF6FE7E-1278-45FF-AB29-5B3D853EEEAA}')"></ali:Ad>
		<!-- TemplateEndEditable -->
	
		<!-- TemplateBeginEditable name="最新资讯" -->
		<h1>最新资讯</h1>
		<ul class="List1">
			<ali:List Object="News" Page="1" PageSize="10"  Condition="IsDeleted=false and CompanyID=Company[ID]">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>"><%=Title%></a></li>
				</ali:Record>
			</ali:List>
		</ul>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="最新产品" -->
		<h1>最新产品</h1>
		<ul class="List2">
			<ali:List Object="Product" Page="1" PageSize="4" Condition="IsDeleted=false and CompanyID=Company[ID]">
				<ali:Record>
					<li>
						<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a><br>
						<a href="<%=BuildUrl()%>"><%=Name%></a>
					</li>
				</ali:Record>
			</ali:List>
		</ul>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="人才招聘" -->
		<h1>人才招聘</h1>
		<ul class="List1">
			<ali:List Object="Job" Page="1" PageSize="10" Condition="IsDeleted=false and ExpiredTime > DateTime.Now and CompanyID=Company[ID]">
				<ali:Record>
					<li><a href="<%=BuildUrl("job_index")%>#<%=InnerID%>"><%=Title%></a></li>
				</ali:Record>
			</ali:List>
		</ul>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="友情链接" -->
		<h1>友情链接</h1>
		<ul class="Link">
			<ali:List Object="Link" Condition="CompanyID=Company[ID]">
				<ali:Record>
					<li><a href="<%=Url%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a></li>
				</ali:Record>
			</ali:List>
		</ul>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="广告位：侧栏底部" -->
		<ali:Ad Guid="{B99E2D59-1AF1-411D-A410-53AEFD9052EE}" TypeID="GetAdTypeID('{B99E2D59-1AF1-411D-A410-53AEFD9052EE}')" Data="GetAdData('{B99E2D59-1AF1-411D-A410-53AEFD9052EE}')"></ali:Ad>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Main" id="Main">
		<h1 class="Title1">公司简介</h1>
		<div class="Content">
			<!-- TemplateBeginEditable name="公司简介" -->
			<%=Company[Description]%>
			<!-- TemplateEndEditable -->
	
			<!-- TemplateBeginEditable name="广告位：内容下方" -->
			<ali:Ad Guid="{3664B7D5-0958-4582-8F1E-0F4F986D4FBA}" TypeID="GetAdTypeID('{3664B7D5-0958-4582-8F1E-0F4F986D4FBA}')" Data="GetAdData('{3664B7D5-0958-4582-8F1E-0F4F986D4FBA}')"></ali:Ad>
			<!-- TemplateEndEditable -->
		</div>
	</div>
</div>

<!-- TemplateBeginEditable name="广告位：页面底部" -->
<ali:Ad Guid="{67C25026-1722-462E-A6DE-FD8AD50E37BA}" TypeID="GetAdTypeID('{67C25026-1722-462E-A6DE-FD8AD50E37BA}')" Data="GetAdData('{67C25026-1722-462E-A6DE-FD8AD50E37BA}')"></ali:Ad>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="脚注" -->
<div class="Wrap Footer">
	<ali:List ID="FooterMenu" Object="Menu" Condition="ParentID IS NULL and Type='Footer' and CompanyID=Company[ID]">
		<ali:Record>
			<a href="<%=BuildMenuUrl(Record)%>"><%=Name%></a>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
	</ali:List>
	<%If FooterMenu[Count] == 0%>
		<ali:List Object="Menu" Condition="ParentID IS NULL and Type='Footer' and CompanyID IS NULL">
			<ali:Record>
				<a href="<%=BuildMenuUrl(Record)%>"><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</ali:List>
	<%EndIf%>
	<hr size="1" />

	<%=Config[Footer]%>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：弹窗广告" -->
<ali:Ad Guid="{7B134455-01CA-4924-8090-72008A21CEC5}" TypeID="GetAdTypeID('{7B134455-01CA-4924-8090-72008A21CEC5}')" Data="GetAdData('{7B134455-01CA-4924-8090-72008A21CEC5}')"></ali:Ad>
<!-- TemplateEndEditable -->
		
<!-- TemplateBeginEditable name="广告位：对联广告" -->
<ali:Ad Guid="{4AF86E57-6345-47D4-A5B9-B9991B77B39F}" TypeID="GetAdTypeID('{4AF86E57-6345-47D4-A5B9-B9991B77B39F}')" Data="GetAdData('{4AF86E57-6345-47D4-A5B9-B9991B77B39F}')"></ali:Ad>
<!-- TemplateEndEditable -->
		
<!-- TemplateBeginEditable name="广告位：漂浮广告" -->
<ali:Ad Guid="{9091DC76-3E76-4A9E-A505-C9B19B9579F3}" TypeID="GetAdTypeID('{9091DC76-3E76-4A9E-A505-C9B19B9579F3}')" Data="GetAdData('{9091DC76-3E76-4A9E-A505-C9B19B9579F3}')"></ali:Ad>
<!-- TemplateEndEditable -->

<script src="<%=CommonPath%>jquery/core.js"></script>
<script src="<%=CommonPath%>jquery/ui.js"></script>
<script src="<%=CommonPath%>equalcols.js"></script>
<script src="<%=CommonPath%>jquery/marquee.js"></script>
<script src="<%=CommonPath%>utility.js"></script>
<script src="<%=JsPath("global.js")%>"></script>
<script src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
<%=Config[StatCode]%>
</body>
</html>
